how to make a repeater repeat itself